package com.situ.ftbserver.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.situ.ftbserver.model.Coach;
import com.situ.ftbserver.model.search.CoachSearchBean;

import java.util.List;
import java.util.Map;

public interface CoachService {
    Page<Coach> findAll(Page<Coach> page, CoachSearchBean csb);

    int delete(Integer[] ids);

    boolean save(Coach coach);

    boolean updateById(Coach coach);

    List<Coach> findCoach();

    List<Map<String, Integer>> getPopularCoach();

}
